package com.example.demo.service;

import com.example.demo.pojo.CommodityList;
import com.example.demo.pojo.Shopcart;

import java.util.List;

public interface ShopCartService {
    int deleteByPrimaryKey(Integer shopcartid);

    int insert(Shopcart record);

    int insertSelective(Shopcart record);

    Shopcart selectByPrimaryKey(Integer shopcartid);

    int updateByPrimaryKeySelective(Shopcart record);

    int updateByPrimaryKey(Shopcart record);
    List<Shopcart> getShopId(int  shopId);
    CommodityList getCommId(int commId);
    int delShoppingCart(int shopId);
}
